import request from '@/utils/request'

// 获取所有
export function getOrder(data) {
  return request({
    url: '/system/order/appList',
	data: data,
    method: 'post'
  })
}

//删除
export function deleteAddress(data) {
  return request({
    url: '/system/address/' + data,
    method: 'delete'
  })
}

//提交地址
export function submitAddress(data) {
  return request({
    url: '/system/address',
	data: data,
    method: 'post'
  })
}

//提交地址
export function updateAddress(data) {
  return request({
    url: '/system/address',
	data: data,
    method: 'put'
  })
}